﻿Public Class WebForm1
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        If Button1.Text = "masquer" Then
            Image1.Visible = False
            Button1.Text = "afficher"
        Else
            Image1.Visible = True
            Button1.Text = "masquer"
        End If
        
    End Sub

    Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        If Button2.Text = "masquer" Then
            Image2.Visible = False
            Button2.Text = "afficher"
        Else
            Image2.Visible = True
            Button2.Text = "masquer"
        End If
    End Sub

    Private Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click
        If Button3.Text = "masquer" Then
            Image3.Visible = False
            Button3.Text = "afficher"
        Else
            Image3.Visible = True
            Button3.Text = "masquer"
        End If
    End Sub
End Class